<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@page import="org.corp.agi.web.constant.WebConstant;"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div class="contentAreaFull">
<div class="alertTopic">
<div class="alertTopicBullet"></div>
<div class="alertTopicText">ระบบป้องกันการสร้างรายการซ้ำ</div>
<div class="alertTopicRight"></div>
</div>
<br />
<div align="center"><font class="alert">
		<%
			String msg = (String)session.getAttribute(WebConstant.INFOMESSAGE_KEY);
	  		if( msg != null )
	  		{
	  			session.setAttribute(WebConstant.INFOMESSAGE_KEY,null);
				out.print( msg );
	  		}
		%>
</font></div>
<s:property value="exception.printStackTrace()"/>
<br />
<br />
<br />
<div align="center"><font class="alert">คุณได้ทำการทำรายการซ้ำสองรอบ</font></div>
<br />
<br />
<br />
<br />
<div align="center"><input name="input" type="button" value="กลับสู่หน้าจอหลัก" onClick="location.href='${requestScope.appBase}/main/LoginAction.do';"/></div>
<br />
<br />
		<%
			String popupMsg =  (String)session.getAttribute(WebConstant.POPUP_MSG_KEY);
	  		if(popupMsg != null)
	  		{
	  			session.setAttribute(WebConstant.POPUP_MSG_KEY,null);
		%>
			<script type="text/javascript">
				alert('<%=popupMsg%>');
			</script>
		<%
	  		}
		%>
<br />
<br />
</div>